const loadConfig = () => {
  const { env } = process;

  return {
    db: {
      database: 'nest_webrtc',
      host: '82.156.217.14',
      port: 3306,
      username: 'lzw',
      password: 'a123456',
    },
    redis: {
      host: env.REDIS_HOST,
      port: parseInt(env.REDIS_PORT) || 7780,
    },
  };
};

export default loadConfig;
